package cn.scut.srp.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CourseMapper {
    @Select("""
            select course_name from machine_room.course_info where class_name = #{className}
            """)
    @ResultType(List.class)
    List<String> getClassCourses(String className);

}
